import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-table-drag-table',
  templateUrl: './drag-table.component.html'
})
export class TableDragTableComponent implements OnInit {
  greatTableDragCfg = {
    x: '700px',
    nameWidth: '180px'
  };

  listOfData = [
    {
      key: '1',
      name: 'John Brown',
      age: 32,
      address: 'New York No. 1 Lake Park'
    },
    {
      key: '2',
      name: 'Jim Green',
      age: 42,
      address: 'London No. 1 Lake Park'
    },
    {
      key: '3',
      name: 'Joe Black',
      age: 32,
      address: 'Sidney No. 1 Lake Park'
    }
  ];

  // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method
  ngOnInit(): void {}
}
